const webapckConfig = require('../../build/webpack.config')

module.exports = webapckConfig({
    env: process.argv.indexOf('serve') !== -1 ? 'dev' : 'build',
    root: __dirname,
    htmlTemplate: './public/index.html',
    entry: './src/main.js'
})